package com.gp.test.prototype.clone;

/**
 * 地址实体类
 *
 * @author
 * @create 2017-05-24 11:10
 */
public class Address implements Cloneable {
	private String homeAddr;
	private String workAddr;

	@Override
	protected Object clone() throws CloneNotSupportedException {
		return super.clone();
	}

	public String getHomeAddr() {
		return homeAddr;
	}

	public void setHomeAddr(String homeAddr) {
		this.homeAddr = homeAddr;
	}

	public String getWorkAddr() {
		return workAddr;
	}

	public void setWorkAddr(String workAddr) {
		this.workAddr = workAddr;
	}

	@Override
	public String toString() {
		return "Address{" +
				"homeAddr='" + homeAddr + '\'' +
				", workAddr='" + workAddr + '\'' +
				'}';
	}
}
